﻿namespace GeneticAlgorithms.Genomes
{
    /// <summary>
    /// Base interface for all genomes.
    /// </summary>
    public interface IGenomeBase
    {
        /// <summary>
        /// Gets or sets the genome's fitness.
        /// </summary>
        /// <value>The fitness.</value>
        double? Fitness { get; set; }

        /// <summary>
        /// Gets the genome's length (total number of genes in it).
        /// </summary>
        /// <value>The length.</value>
        int Length { get; }
    }
}
